home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1987-07-20 | 2.4 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Jul 20 13:00:00 1987, modified Mon Jul 20 13:00:00 1987, creator 'MPS ', type ASCII, 1449 bytes "Stubs.c" , at 0x629 746 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 53 74 75 62 73 2e | 63 00 00 00 00 00 00 00 |..Stubs.|c.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 05 a9 00 | 00 02 ea 9d 27 fd 10 9d |........|....'...|
|00000060| 27 fd 10 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |'.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e1 23 00 00 |........|.....#..|
|00000080| 0d 09 09 09 09 09 70 5f | 66 6c 67 2b 2b 3b 0d 09 |......p_|flg++;..|
|00000090| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 09 63 |....brea|k;.....c|
|000000a0| 61 73 65 20 27 6d 27 3a | 0d 09 09 09 09 63 61 73 |ase 'm':|.....cas|
|000000b0| 65 20 27 4d 27 3a 0d 09 | 09 09 09 09 2f 2a 20 2d |e 'M':..|..../* -|
|000000c0| 6d 20 3d 20 6c 69 73 74 | 20 6d 61 63 72 6f 73 20 |m = list| macros |
|000000d0| 2a 2f 0d 09 09 09 09 09 | 6d 5f 66 6c 67 2b 2b 3b |*/......|m_flg++;|
|000000e0| 0d 09 09 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 09 |......br|eak;....|
|000000f0| 09 63 61 73 65 20 27 66 | 27 3a 0d 09 09 09 09 63 |.case 'f|':.....c|
|00000100| 61 73 65 20 27 46 27 3a | 0d 09 09 09 09 09 2f 2a |ase 'F':|....../*|
|00000110| 20 2d 66 20 3d 20 6c 69 | 73 74 20 66 69 6c 65 73 | -f = li|st files|
|00000120| 20 61 6e 64 20 6e 75 6d | 62 65 72 73 20 2a 2f 0d | and num|bers */.|
|00000130| 09 09 09 09 09 66 5f 66 | 6c 67 2b 2b 3b 0d 09 09 |.....f_f|lg++;...|
|00000140| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 09 09 63 61 |...break|;.....ca|
|00000150| 73 65 20 27 74 27 3a 0d | 09 09 09 09 63 61 73 65 |se 't':.|....case|
|00000160| 20 27 54 27 3a 0d 09 09 | 09 09 09 2f 2a 20 2d 74 | 'T':...|.../* -t|
|00000170| 20 3c 6e 75 6d 62 65 72 | 3e 20 3d 20 4e 75 6d 62 | <number|> = Numb|
|00000180| 65 72 20 6f 66 20 73 70 | 61 63 65 73 20 74 6f 20 |er of sp|aces to |
|00000190| 65 78 70 61 6e 64 20 65 | 61 63 68 20 74 61 62 20 |expand e|ach tab |
|000001a0| 2a 2f 0d 09 09 09 09 09 | 7b 0d 09 09 09 09 09 09 |*/......|{.......|
|000001b0| 69 66 20 28 2d 2d 61 72 | 67 63 20 3d 3d 20 30 29 |if (--ar|gc == 0)|
|000001c0| 20 7b 0d 09 09 09 09 09 | 09 09 75 73 65 5f 65 72 | {......|..use_er|
|000001d0| 72 28 27 74 27 2c 20 70 | 5f 61 72 67 76 5b 30 5d |r('t', p|_argv[0]|
|000001e0| 29 3b 0d 09 09 09 09 09 | 09 7d 0d 09 09 09 09 09 |);......|.}......|
|000001f0| 09 69 20 3d 20 61 74 6f | 69 28 2a 2b 2b 61 72 67 |.i = ato|i(*++arg|
|00000200| 76 29 3b 0d 09 09 09 09 | 09 09 69 66 20 28 69 20 |v);.....|..if (i |
|00000210| 3c 20 4d 49 4e 5f 54 41 | 42 20 7c 7c 20 69 20 3e |< MIN_TA|B || i >|
|00000220| 20 4d 41 58 5f 54 41 42 | 29 7b 0d 09 09 09 09 09 | MAX_TAB|){......|
|00000230| 09 09 75 73 65 5f 65 72 | 72 28 27 74 27 2c 20 70 |..use_er|r('t', p|
|00000240| 5f 61 72 67 76 5b 30 5d | 29 3b 0d 09 09 09 09 09 |_argv[0]|);......|
|00000250| 09 7d 0d 09 09 09 09 09 | 09 74 61 62 20 3d 20 69 |.}......|.tab = i|
|00000260| 3b 0d 09 09 09 09 09 09 | 62 72 65 61 6b 3b 0d 09 |;.......|break;..|
|00000270| 09 09 09 09 7d 0d 09 09 | 09 09 63 61 73 65 20 27 |....}...|..case '|
|00000280| 77 27 3a 0d 09 09 09 09 | 63 61 73 65 20 27 57 27 |w':.....|case 'W'|
|00000290| 3a 0d 09 09 09 09 09 2f | 2a 20 2d 77 20 3c 77 69 |:....../|* -w <wi|
|000002a0| 64 74 68 3e 20 3d 20 4e | 6f 20 6f 66 20 6f 75 74 |dth> = N|o of out|
|000002b0| 70 75 74 20 63 6f 6c 75 | 6d 6e 73 20 2a 2f 0d 09 |put colu|mns */..|
|000002c0| 09 09 09 09 7b 0d 09 09 | 09 09 09 09 69 66 20 28 |....{...|....if (|
|000002d0| 2d 2d 61 72 67 63 20 3d | 3d 20 30 29 20 7b 0d 09 |--argc =|= 0) {..|
|000002e0| 09 09 09 09 09 09 75 73 | 65 5f 65 72 72 28 27 77 |......us|e_err('w|
|000002f0| 27 2c 20 70 5f 61 72 67 | 76 5b 30 5d 29 3b 0d 09 |', p_arg|v[0]);..|
|00000300| 09 09 09 09 09 7d 0d 09 | 09 09 09 09 09 69 20 3d |.....}..|.....i =|
|00000310| 20 61 74 6f 69 28 2a 2b | 2b 61 72 67 76 29 3b 0d | atoi(*+|+argv);.|
|00000320| 09 09 09 09 09 09 69 66 | 20 28 69 20 3c 3d 20 4d |......if| (i <= M|
|00000330| 49 4e 5f 43 4f 4c 20 7c | 7c 20 69 20 3e 3d 20 32 |IN_COL ||| i >= 2|
|00000340| 35 35 29 20 7b 0d 09 09 | 09 09 09 09 09 75 73 65 |55) {...|.....use|
|00000350| 5f 65 72 72 28 27 77 27 | 2c 20 70 5f 61 72 67 76 |_err('w'|, p_argv|
|00000360| 5b 30 5d 29 3b 0d 09 09 | 09 09 09 09 7d 0d 09 09 |[0]);...|....}...|
|00000370| 09 09 09 09 6d 61 78 5f | 63 6f 6c 20 3d 20 69 3b |....max_|col = i;|
|00000380| 0d 09 09 09 09 09 09 62 | 72 65 61 6b 3b 0d 09 09 |.......b|reak;...|
|00000390| 09 09 09 7d 0d 09 09 09 | 09 09 0d 09 09 09 09 64 |...}....|.......d|
|000003a0| 65 66 61 75 6c 74 3a 0d | 09 09 09 09 09 75 73 65 |efault:.|.....use|
|000003b0| 5f 65 72 72 28 27 78 27 | 2c 20 70 5f 61 72 67 76 |_err('x'|, p_argv|
|000003c0| 5b 30 5d 29 3b 0d 09 09 | 09 7d 0d 09 09 7d 0d 09 |[0]);...|.}...}..|
|000003d0| 7d 0d 0d 09 69 66 20 28 | 6f 5f 66 6c 67 29 20 7b |}...if (|o_flg) {|
|000003e0| 0d 09 09 69 66 20 28 28 | 66 5f 6c 73 74 5f 66 69 |...if ((|f_lst_fi|
|000003f0| 6c 3d 66 6f 70 65 6e 28 | 6c 73 74 5f 66 69 6c 2c |l=fopen(|lst_fil,|
|00000400| 22 77 22 29 29 20 3d 3d | 20 4e 55 4c 4c 29 20 7b |"w")) ==| NULL) {|
|00000410| 0d 09 09 09 70 72 69 6e | 74 66 28 22 45 52 52 4f |....prin|tf("ERRO|
|00000420| 52 3a 20 55 6e 61 62 6c | 65 20 74 6f 20 63 72 65 |R: Unabl|e to cre|
|00000430| 61 74 65 20 6c 69 73 74 | 20 66 69 6c 65 20 2d 20 |ate list| file - |
|00000440| 25 73 5c 6e 22 2c 6c 73 | 74 5f 66 69 6c 29 3b 0d |%s\n",ls|t_fil);.|
|00000450| 09 09 09 65 78 69 74 28 | 30 29 3b 0d 09 09 7d 0d |...exit(|0);...}.|
|00000460| 09 09 70 72 69 6e 74 66 | 28 22 25 73 20 2e 2e 2e |..printf|("%s ...|
|00000470| 20 27 43 27 20 46 75 6e | 63 74 69 6f 6e 20 4c 69 | 'C' Fun|ction Li|
|00000480| 73 74 65 72 20 55 74 69 | 6c 69 74 79 20 20 76 31 |ster Uti|lity v1|
|00000490| 2e 30 61 5c 6e 5c 6e 22 | 2c 20 70 5f 61 72 67 76 |.0a\n\n"|, p_argv|
|000004a0| 5b 30 5d 29 3b 0d 09 7d | 0d 0d 09 2f 2a 20 69 6e |[0]);..}|.../* in|
|000004b0| 69 74 69 61 6c 69 7a 65 | 20 69 64 5f 76 65 63 74 |itialize| id_vect|
|000004c0| 6f 72 20 74 6f 20 4e 55 | 4c 4c 20 2a 2f 0d 09 66 |or to NU|LL */..f|
|000004d0| 6f 72 20 28 6c 69 6e 75 | 6d 3d 30 3b 20 6c 69 6e |or (linu|m=0; lin|
|000004e0| 75 6d 20 3c 20 4d 41 58 | 5f 57 52 44 3b 20 6c 69 |um < MAX|_WRD; li|
|000004f0| 6e 75 6d 2b 2b 29 20 7b | 0d 09 09 69 64 5f 76 65 |num++) {|...id_ve|
|00000500| 63 74 6f 72 5b 6c 69 6e | 75 6d 5d 20 3d 20 4e 55 |ctor[lin|um] = NU|
|00000510| 4c 4c 3b 0d 09 7d 0d 09 | 0d 09 2f 2a 20 69 6e 69 |LL;..}..|../* ini|
|00000520| 74 69 61 6c 69 7a 65 20 | 61 6c 70 68 61 5f 76 65 |tialize |alpha_ve|
|00000530| 63 74 6f 72 5b 5d 2e 74 | 6f 70 20 61 6e 64 20 61 |ctor[].t|op and a|
|00000540| 6c 70 68 61 5f 76 65 63 | 74 6f 72 5b 5d 2e 61 6c |lpha_vec|tor[].al|
|00000550| 70 68 61 5f 6c 73 74 20 | 74 6f 20 4e 55 4c 4c 20 |pha_lst |to NULL |
|00000560| 2a 2f 0d 09 66 6f 72 20 | 28 6c 69 6e 75 6d 3d 30 |*/..for |(linum=0|
|00000570| 3b 20 6c 69 6e 75 6d 20 | 3c 20 4d 41 58 5f 41 4c |; linum |< MAX_AL|
|00000580| 50 48 41 3b 20 6c 69 6e | 75 6d 2b 2b 29 20 7b 0d |PHA; lin|um++) {.|
|00000590| 09 09 61 6c 70 68 61 5f | 76 65 63 74 6f 72 5b 6c |..alpha_|vector[l|
|000005a0| 69 6e 75 6d 5d 2e 61 6c | 70 68 61 5f 74 6f 70 20 |inum].al|pha_top |
|000005b0| 3d 20 61 6c 70 68 61 5f | 76 65 63 74 6f 72 5b 6c |= alpha_|vector[l|
|000005c0| 69 6e 75 6d 5d 2e 61 6c | 70 68 61 5f 6c 73 74 20 |inum].al|pha_lst |
|000005d0| 3d 20 4e 55 4c 4c 3b 0d | 09 7d 0d 0d 09 2f 2a 20 |= NULL;.|.}.../* |
|000005e0| 4d 6f 72 65 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |More ini|tializat|
|000005f0| 69 6f 6e 2e 20 2a 2f 0d | 09 70 72 74 5f 72 65 66 |ion. */.|.prt_ref|
|00000600| 20 3d 20 46 41 4c 53 45 | 3b 0d 09 66 69 6c 5f 63 | = FALSE|;..fil_c|
|00000610| 6e 74 20 3d 20 77 72 64 | 5f 63 6e 74 20 3d 20 6c |nt = wrd|_cnt = l|
|00000620| 69 6e 75 6d 20 3d 20 30 | 3b 00 00 00 00 00 00 00 |inum = 0|;.......|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 09 09 09 63 61 73 65 20 | 27 49 27 3a 0d 09 09 09 |...case |'I':....|
|00000690| 09 09 2f 2a 20 2d 69 20 | 3d 20 45 6e 61 62 6c 65 |../* -i |= Enable|
|000006a0| 20 66 69 6c 65 20 69 6e | 63 6c 75 73 69 6f 6e 20 | file in|clusion |
|000006b0| 2a 2f 0d 09 09 09 09 09 | 69 5f 66 6c 67 2b 2b 3b |*/......|i_flg++;|
|000006c0| 0d 09 09 09 09 09 62 72 | 65 61 6b 3b 20 20 0d 09 |......br|eak; ..|
|000006d0| 09 09 09 63 61 73 65 20 | 27 6c 27 3a 0d 09 09 09 |...case |'l':....|
|000006e0| 09 63 61 73 65 20 27 4c | 27 3a 0d 09 09 09 09 09 |.case 'L|':......|
|000006f0| 2f 2a 20 2d 6c 20 3d 20 | 47 65 6e 65 72 61 74 65 |/* -l = |Generate|
|00000700| 20 6c 69 73 74 69 6e 67 | 20 6f 6e 6c 79 20 2a 2f | listing| only */|
|00000710| 0d 09 09 09 09 09 6c 5f | 66 6c 67 2b 2b 3b 0d 09 |......l_|flg++;..|
|00000720| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 09 63 |....brea|k;.....c|
|00000730| 61 73 65 20 27 6f 27 3a | 0d 09 09 09 09 63 61 73 |ase 'o':|.....cas|
|00000740| 65 20 27 4f 27 3a 0d 09 | 09 09 09 09 2f 2a 20 2d |e 'O':..|..../* -|
|00000750| 6f 20 3c 66 69 6c 65 6e | 61 6d 65 3e 20 3d 20 57 |o <filen|ame> = W|
|00000760| 72 69 74 65 20 6f 75 74 | 70 75 74 20 74 6f 20 6e |rite out|put to n|
|00000770| 61 6d 65 64 20 66 69 6c | 65 20 2a 2f 0d 09 09 09 |amed fil|e */....|
|00000780| 09 09 7b 0d 09 09 09 09 | 09 09 6f 5f 66 6c 67 2b |..{.....|..o_flg+|
|00000790| 2b 3b 0d 09 09 09 09 09 | 09 69 66 20 28 2d 2d 61 |+;......|.if (--a|
|000007a0| 72 67 63 20 3d 3d 20 30 | 29 20 7b 0d 09 09 09 09 |rgc == 0|) {.....|
|000007b0| 09 09 09 75 73 65 5f 65 | 72 72 28 27 6f 27 2c 20 |...use_e|rr('o', |
|000007c0| 70 5f 61 72 67 76 5b 30 | 5d 29 3b 0d 09 09 09 09 |p_argv[0|]);.....|
|000007d0| 09 09 7d 0d 09 09 09 09 | 09 09 73 74 72 63 70 79 |..}.....|..strcpy|
|000007e0| 28 6c 73 74 5f 66 69 6c | 2c 2a 2b 2b 61 72 67 76 |(lst_fil|,*++argv|
|000007f0| 29 3b 0d 09 09 09 09 09 | 09 69 66 20 28 6c 73 74 |);......|.if (lst|
|00000800| 5f 66 69 6c 5b 30 5d 20 | 3d 3d 20 27 2d 27 29 20 |_fil[0] |== '-') |
|00000810| 7b 0d 09 09 09 09 09 09 | 09 75 73 65 5f 65 72 72 |{.......|.use_err|
|00000820| 28 27 6f 27 2c 20 70 5f | 61 72 67 76 5b 30 5d 29 |('o', p_|argv[0])|
|00000830| 3b 0d 09 09 09 09 09 09 | 7d 0d 09 09 09 09 09 09 |;.......|}.......|
|00000840| 62 72 65 61 6b 3b 0d 09 | 09 09 09 09 7d 0d 09 09 |break;..|....}...|
|00000850| 09 09 63 61 73 65 20 27 | 72 27 3a 0d 09 09 09 09 |..case '|r':.....|
|00000860| 63 61 73 65 20 27 52 27 | 3a 0d 09 09 09 09 09 2f |case 'R'|:....../|
|00000870| 2a 20 2d 72 20 3d 20 43 | 72 6f 73 73 2d 72 65 66 |* -r = C|ross-ref|
|00000880| 20 72 65 73 65 72 76 65 | 64 20 77 6f 72 64 73 20 | reserve|d words |
|00000890| 2a 2f 0d 09 09 09 09 09 | 72 5f 66 6c 67 2b 2b 3b |*/......|r_flg++;|
|000008a0| 0d 09 09 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 09 |......br|eak;....|
|000008b0| 09 63 61 73 65 20 27 78 | 27 3a 0d 09 09 09 09 63 |.case 'x|':.....c|
|000008c0| 61 73 65 20 27 58 27 3a | 0d 09 09 09 09 09 2f 2a |ase 'X':|....../*|
|000008d0| 20 2d 66 20 3d 20 64 6f | 20 63 72 6f 73 73 20 72 | -f = do| cross r|
|000008e0| 65 66 65 72 65 6e 63 65 | 20 2a 2f 0d 09 09 09 09 |eference| */.....|
|000008f0| 09 6e 6f 66 75 6e 63 6e | 61 6d 65 66 6c 61 67 20 |.nofuncn|ameflag |
|00000900| 3d 20 46 41 4c 53 45 3b | 0d 09 09 09 09 09 65 63 |= FALSE;|......ec|
|00000910| 68 6f 5f 66 6c 61 67 20 | 3d 20 46 41 4c 53 45 3b |ho_flag |= FALSE;|
|00000920| 0d 09 09 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 09 |......br|eak;....|
|00000930| 09 63 61 73 65 20 27 70 | 27 3a 0d 09 09 09 09 63 |.case 'p|':.....c|
|00000940| 61 73 65 20 27 50 27 3a | 0d 09 09 09 09 09 2f 2a |ase 'P':|....../*|
|00000950| 20 2d 70 20 3d 20 6c 69 | 73 74 20 70 61 67 65 20 | -p = li|st page |
|00000960| 6e 75 6d 62 65 72 73 20 | 2a 2f 00 00 00 00 00 00 |numbers |*/......|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+